package com.lkbaby.flowable;

import org.flowable.engine.delegate.DelegateExecution;
import org.flowable.engine.delegate.JavaDelegate;

import java.util.Date;

/**
 * 自动任务
 */
public class AutomaticTaskThree implements JavaDelegate {
	@Override
	public void execute(DelegateExecution delegateExecution) {
		System.out.println("==========触发自动任务3 "+ new Date() +"==========");
		// 补偿事件
		System.out.println("=============== 取消预定机票 ==============");
	}
}
